<?php

	// Fmgr0v0r01_dir is the base class for all directories.
	require_once 'dir.php';

	class Fmgr0v0r01_symdir extends Fmgr0v0r01_dir{

		function sticky_check(){
			return is_root();
		}
		
		function own(){
			return 'u:500';
		}
		
		function grp(){
			return 'g:500';
		}
		
		function set_parent(){
			return false;
		}
		
		function set_basename(){
			return false;
		}
		
		function is_destroyable(){
			return true;
		}
		
		function destroy(){
			$cdrn = $this->cdrn(1);
			unlink($this->realpath());
			foreach($cdrn as $child) $child->destroy();
			foreach($cdrn as $child) $child->destroy_row();
			return $this->destroy_row();
		}
	}	

?>